package com.qqt.csr.im.vo.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 敏感词拦截规则
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "SensitiveWordRuleCfgRespVO", description = "敏感词拦截规则")
public class SensitiveWordRuleCfgRespVO implements Serializable {

    @Serial
    private static final long serialVersionUID = -5678070318030990448L;

    @Schema(description = "显示规则：0 双方显示，以星号加密；1 只发送方显示，敏感词高亮", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer showType;
}